package com.ikproducts.manualian.client;

import com.google.gwt.user.client.ui.TextBox;

public class ContentWidget extends TextBox implements IContentWidget{
	private int contentType;
	
	public ContentWidget(int contentType, String test){
		this.contentType = contentType;
		this.setText(test);
	}
	
	@Override
	public String getContent() {
		return this.getText();
	}
	@Override
	public int getContentType() {
		return this.contentType;
	}
}
